From eb9a20ae3e2334742469e64d02d1a3b65a21874e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 4 Oct 2006 22:23:26 +0000 Subject: [PATCH] fix firstboot checks for files to copy instead of symlink (ported from buildroot-ng) SVN-Revision: 4920 --- openwrt/package/base-files/default/bin/firstboot | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openwrt/package/base-files/default/bin/firstboot b/openwrt/package/base-files/default/bin/firstboot index 7bbf014b5a..02d941fe98 100755 --- a/openwrt/package/base-files/default/bin/firstboot +++ b/openwrt/package/base-files/default/bin/firstboot @@ -19,10 +19,10 @@ dupe() { # echo -n "setting up symlinks... " for file in $(cd $2; find . -xdev -type f;); do case "$file" in - "./rom/note") ;; #nothing - "./etc/config"|\ - "./etc/resolv.conf"|\ - "./usr/lib/ipkg/info") cp -af $2/$file $file;; + ./rom/note) ;; #nothing + ./etc/config*|\ + ./etc/resolv.conf|\ + ./usr/lib/ipkg/info/*) cp -af $2/$file $file;; *) ln -sf /rom/${file#./*} $file;; esac done -- 2.30.2